<script setup>
import { onMounted, nextTick, ref, reactive, watch, computed, watchEffect } from 'vue'
import { smInfo } from '../../stores/chun.js'

const { liziData } = smInfo

</script>

<template>
    <div class="kaiguan">
        <div id="lizi">
            <div v-for="(item, index) in liziData" :key="index">
                <span>{{ item.title }}</span>
                <el-switch v-model="item.isShow" size="small"></el-switch>
            </div>
        </div>
    </div>
</template>

<style lang="less" scoped>
.kaiguan {
    width: 320px;
    // height: 50px;
    position: fixed;
    bottom: 50px;
    right: 10px;
    z-index: 999;
    // background-color: #404040c7;
    background-color: rgba(52, 102, 197, 0.8);
    // 背景透明度0.8
    border-radius: 12px;
    padding: 0 7px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    // border: 1px solid #b0afaf;

    #lizi {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 100%;

        span {
            font-size: 12px;
            font-family: 'aliph400';
            margin-right: 10px;
            color: #fff3e1;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
        }
    }
}
</style>